package com.yuntongxun.ecdemo.voicechat.bean;

import java.util.List;

/**
 * 用户信息
 * @author li_zhuonan
 * @version 1.0
 * @since 2016/11/24
 */

public class UserInfo {

    public static final String ONLINE="2";
    public static final String BUSY="1";
    public static final String OFFLINE="0";


    /**
     * id : 9
     * accountName : 409428776@qq.com
     * nickName : 11
     * accountPwd : 123456
     * gender : 男
     * age : 11
     * country : China
     * nativeLanguage : Chines
     * learningLanguage : English
     * status : 0
     * createTime : 1477365986000
     * textDescription : 这是一个测试备注
     * voices : 2|英文|voice/test1.mp3,1|中文|voice/test.mp3
     * voiceList : [{"id":2,"accountName":"409428776@qq.com","voice":"voice/test1.mp3","name":"英文"},{"id":1,"accountName":"409428776@qq.com","voice":"voice/test.mp3","name":"中文"}]
     */

    private String id;
    private String accountName;
    private String nickName;
    private String accountPwd;
    private String gender;
    private String age;
    private String country;
    private String nativeLanguage;
    private String learningLanguage;
    private String status;
    private long createTime;
    private String textDescription;
    private String voices;
    private String onLine;
    private int state=-1; //0在线 ，1不在线 -1未知
    /**
     * id : 2
     * accountName : 409428776@qq.com
     * voice : voice/test1.mp3
     * name : 英文
     */

    private List<VoiceListBean> voiceList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAccountPwd() {
        return accountPwd;
    }

    public void setAccountPwd(String accountPwd) {
        this.accountPwd = accountPwd;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getNativeLanguage() {
        return nativeLanguage;
    }

    public void setNativeLanguage(String nativeLanguage) {
        this.nativeLanguage = nativeLanguage;
    }

    public String getLearningLanguage() {
        return learningLanguage;
    }

    public void setLearningLanguage(String learningLanguage) {
        this.learningLanguage = learningLanguage;
    }

    public String getOnLine() {
        return onLine;
    }

    public void setOnLine(String onLine) {
        this.onLine = onLine;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getTextDescription() {
        return textDescription;
    }

    public void setTextDescription(String textDescription) {
        this.textDescription = textDescription;
    }

    public String getVoices() {
        return voices;
    }

    public void setVoices(String voices) {
        this.voices = voices;
    }

    public List<VoiceListBean> getVoiceList() {
        return voiceList;
    }

    public void setVoiceList(List<VoiceListBean> voiceList) {
        this.voiceList = voiceList;
    }

    public static class VoiceListBean {
        private int id;
        private String accountName;
        private String voice;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAccountName() {
            return accountName;
        }

        public void setAccountName(String accountName) {
            this.accountName = accountName;
        }

        public String getVoice() {
            return voice;
        }

        public void setVoice(String voice) {
            this.voice = voice;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
